<?php

class OndeEncontrarController extends TICE_Controlador_Lista {
	
	function init() {
		$this->tabela = 'onde_encontrar';
	}
	
	function getLista($where = null, $order = null, $count = null, $offset = null) {
		$select = $this->modelo->getSelect($where);
		$select->where('oe.ativo = 1');
		return parent::getLista($select, $order, 0, $offset);
	}
}